package com.tac.pojo.scm;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("供应商")
public class Supplier {

    @ApiModelProperty("主键")
    private Integer id;
    @ApiModelProperty("供应商名称")
    private String supplierName;
    @ApiModelProperty("简称")
    private String abbreviation;
    @ApiModelProperty("公司地址")
    private String companyAddress;
    @ApiModelProperty("公司电话")
    private String companyPhone;
    @ApiModelProperty("联系人")
    private String contactPerson;
    @ApiModelProperty("联系电话")
    private String contactPhone;
    @ApiModelProperty("开户银行")
    private String bankName;
    @ApiModelProperty("银行账号")
    private String bankAccount;
    @ApiModelProperty("税号")
    private String taxNumber;
    @ApiModelProperty("供应商分类")
    private String supplierCategory;
    @ApiModelProperty("供应商等级")
    private String supplierLevel;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("申请状态、未提交、待审核、已审核")
    private String applicationStatus;
    @ApiModelProperty("状态")
    private String status;
//-后面是申请里面的查到的
    @ApiModelProperty("申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date applicationDate;
    @ApiModelProperty("申请人")
    private String application;
    @ApiModelProperty("审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date examineDate;
    @ApiModelProperty("审核状态、通过、驳回")
    private String examineStatus;
    @ApiModelProperty("审核人")
    private String examine;
    @ApiModelProperty("审核意见")
    private String examineOpinion;
}
